Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(packages/sui-ssr): #1649

Merged
merged 2 commits into from
Oct 19, 2023
Merged

feat(packages/sui-ssr): #1649

merged 2 commits into from
Oct 19, 2023

Conversation

Sabri1209
Copy link
Contributor

@Sabri1209 Sabri1209 commented Oct 19, 2023

Description

Add the CSP report HTTP header and create a new link so each site can handle the report.
This header will be useful to us to know what resources we need and where they come from (the report will only contain resources from other domains), and this way, once we know what they are, we can create a list of allowed domains. Finally, we will use the CSP header which directly blocks any resources that are not in our allowed list.

More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only

Example

Screen.Recording.2023-10-19.at.08.59.39.online-video-cutter.com.mp4
image

@Sabri1209 Sabri1209 merged commit 7afe9d6 into master Oct 19, 2023
1 check passed
@Sabri1209 Sabri1209 deleted the feat/csp-report branch October 19, 2023 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants